package com.itheima01;

public class 奇偶数的判断 {
    public static void main(String[] args) {
        for (int i = 1; i <= 10; i++) {
            if (i % 2 == 0) {
                System.out.println(i + "是偶数");
            } else {
                System.out.println(i + "是奇数");
            }
        }
    }
}
